<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<script src="${pageContext.request.contextPath}/erp/js/showImg.js" type="text/javascript"></script>
<style type="text/css">
	img{
		width: 150px;
		height: 150px;
	}
</style>
<div id="update_station_div">
	<div layouth="56" class="pageFormContent" style="height: 186px; overflow: auto;">
		<p>
			<label>总部编码：</label>
			<input type="text" id="hqId" name="hqId" value="${bean.hqId }"/>
		</p>
		<p>
			<label>油站总部名：</label>
			<input type="text" id="hqName" name="hqName" value="${bean.hqName }"/>
		</p>
		
		<p>
			<label>油站站编码：</label>
			<input type="text" name="stationId" id="stationId" value="${bean.stationId }"/>
		</p>
		<p>
			<label>油站站点名：</label>
			<input type="text" size="20" class="textInput" name="stationName" id="stationName" value="${bean.stationName }"/>
		</p>
		<p>
			<label>营业执照名称：</label>
			<input type="text" size="20" class="textInput" name="registeredName" id="registeredName" value="${bean.registeredName }"/>
		</p>
		<p>
			<label>营业执照编号：</label>
			<input type="text" size="20" class="textInput" name="registeredNumber" id="registeredNumber" value="${bean.registeredNumber }"/>
		</p>
		<p>
			<label>法人/代理人：</label>
			<input type="text" size="20" class="textInput" name="legalRepresentative" id="legalRepresentative" value="${bean.legalRepresentative }"/>
		</p>
		<p>
			<label>联系人：</label>
			<input type="text" size="20" class="textInput" name="contactsName" id="contactsName" value="${bean.contactsName }"/>
		</p>
		<p>
			<label>电话：</label>
			<input type="text" size="20" class="textInput" name="phoneNum" id="phoneNum" value="${bean.phoneNum }"/>
		</p>
		<p>
			<label>地址：</label>
			<input type="text" size="20" class="textInput" name="address" id="address" value="${bean.address }"/>
		</p>
		<p>
			<label>邮箱：</label>
			<input type="text" size="20" class="textInput" name="email" id="email" value="${bean.email }"/>
		</p>
		<p>
			<label>油枪数量：</label>
			<input type="text" size="20" class="textInput" name="fpCnt" id="fpCnt" value="${bean.fpCnt }"/>
		</p>
		<p>
			<label>油机数量：</label>
			<input type="text" size="20" class="textInput" name="dispenserCnt" id="dispenserCnt" value="${bean.dispenserCnt }"/>
		</p>
		<p>
			<label>油机品牌：</label>
			<input type="text" size="20" class="textInput" name="dispenserBrand" id="dispenserBrand" value="${bean.dispenserBrand }"/>
		</p>
<!-- 		<p> -->
<!-- 			<label>password：</label> -->
<%-- 			<input type="text" size="20" class="textInput" name="password" id="password" value="${bean.password }"/> --%>
<!-- 		</p> -->
		<p>
			<label>备注：</label>
			<input type="text" size="20" class="textInput" name="memo" id="memo" value="${bean.memo }"/>
		</p>
		<div class="divider"></div>
		<p style="height: 150px;">
			<label>油站外观：</label>
			<c:choose>
			   <c:when test="${saImg== null}"> 
 						<img src='${pageContext.request.contextPath}/images/no_img.png' name="StationAppearance_img" id="StationAppearance_img" onclick="open_file('saImg')">
			   </c:when>
			   <c:otherwise>
			   		<img src='${pageContext.request.contextPath}/Common/downloadPhoto?url=${saImg}' name="StationAppearance_img" id="StationAppearance_img" onclick="open_file('saImg')">
			   </c:otherwise>
			</c:choose>
				</p>
		<p style="height: 150px;">
			<label>收银台：</label>
				<c:choose>
			   <c:when test="${cdImg== null}"> 
 						<img src="${pageContext.request.contextPath}/images/no_img.png" name="cashierDesk_img" id="cashierDesk_img" onclick="open_file('cdImg')">
			   </c:when>
			   <c:otherwise>
 						<img src="${pageContext.request.contextPath}/Common/downloadPhoto?url=${cdImg}" name="cashierDesk_img" id="cashierDesk_img" onclick="open_file('cdImg')">
			   </c:otherwise>
			</c:choose>
		</p>
		<p style="height: 150px;">
			<label>加油机：</label>
			<c:choose>
			   <c:when test="${tankerImg== null}"> 
 						<img src="${pageContext.request.contextPath}/images/no_img.png" name="tanker_img" id="tanker_img" onclick="open_file('tankerImg')">
			   </c:when>
			   <c:otherwise>
 						<img src="${pageContext.request.contextPath}/Common/downloadPhoto?url=${tankerImg}" name="tanker_img" id="tanker_img" onclick="open_file('tankerImg')">
			   </c:otherwise>
			</c:choose>
		</p>
		<p style="height: 150px;">
			<label>门牌号：</label>
			<c:choose>
			   <c:when test="${hnImg== null}"> 
							<img src="${pageContext.request.contextPath}/images/no_img.png" name="houseNumber_img" id="houseNumber_img" onclick="open_file('hnImg')">
			   </c:when>
			   <c:otherwise>
							<img src="${pageContext.request.contextPath}/Common/downloadPhoto?url=${hnImg}" name="houseNumber_img" id="houseNumber_img" onclick="open_file('hnImg')">
			   </c:otherwise>
			</c:choose>
		</p>
	</div>
		
 </div>
	  